package n02;

public class S01Test2 {

	public static void main(String[] args) {
		S01 s01 = new S01();
		System.out.println(s01.sum2(1,2));//通过对象来调用实例方法
		System.out.println(s01.sum2(1,2,333));
		int[]ns= {1,2,3,4};
		System.out.println(s01.sum2(ns));
		System.out.println(s01.sum2());

	}

}
